package com.algorithms.absdatatypes;

public interface TreeTraversal
{
    public <T> void enumerateAll(TreeNode<T> treenode,Apply.TREE_TRAVERSAL traversal);
    
    /*
     * Find the item and return back the node
     */
    public <T> TreeNode<T> findItem(T item);
    
   /*
     * Find the root
     */
    public  <T> TreeNode<T> findRoot();
    

    /*
     * delete an item 
     */
    public <T> void deleteItem(T item);
    
}
